package com.seagull.core.test.lambda;

import java.util.function.Supplier;

/**
 * Created by Administrator on 2017/9/18.
 */
public interface Defaulable {

    /**
     * 默认方法 可不实现
     * @return
     */
    default String aa(){
        System.out.print("==============================");
        return "as";
    }

    static Defaulable create(Supplier<Defaulable> supplier) {
        return supplier.get();
    }

    void bb();
}
